#ifndef AIDIFFICULTYDIALOG_H
#define AIDIFFICULTYDIALOG_H

#include <QDialog>
#include <QButtonGroup>
#include "chessDef.h"

class AIDifficultyDialog : public QDialog {
    Q_OBJECT
public:
    explicit AIDifficultyDialog(QWidget *parent = nullptr);
    Difficulty selectedDifficulty() const { return m_difficulty; }

private slots:
    void onDifficultySelected(int id);

private:
    Difficulty m_difficulty = Difficulty::Medium;
    QButtonGroup *m_buttonGroup;
};

#endif // AIDIFFICULTYDIALOG_H
